package com.junweilife.gridpuzzle;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JButton;
import javax.swing.border.LineBorder;

class PuzzleButton extends JButton {

    public PuzzleButton(String text) {
        super(text);

        super.setForeground(Color.BLACK);
        super.setBackground(Color.CYAN);
        super.setBorder(new LineBorder(Color.RED, 5));
        super.setFont(new Font("微軟正黑體", Font.BOLD, 40));
        super.setFocusable(false);
    }
    
}
